﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;

namespace NewDDSys.BLL
{
    public class ZkcdtBLL:IZkcdtBLL
    {
        public int Add(ZkcdtInfo dt)
        {
            return DALFactory.CreateZkcdtDAL().Add(dt);
        }
        public int Update(string dtnum, decimal kn, decimal kndc, decimal knkl, decimal knzy, decimal knwj, decimal dk, decimal dkdc, decimal dkkl, decimal dkzy, decimal dkwj)
        {
            return DALFactory.CreateZkcdtDAL().Update(dtnum, kn, kndc, knkl, knzy, knwj, dk, dkdc, dkkl, dkzy, dkwj);
        }
        public int UpdateKN(string dtnum, decimal kn)
        {
            return DALFactory.CreateZkcdtDAL().UpdateKN(dtnum, kn);
        }
        public int UpdateKNDC(string dtnum, decimal kndc)
        {
            return DALFactory.CreateZkcdtDAL().UpdateKNDC(dtnum, kndc);
        }
        public int UpdateKNKL(string dtnum, decimal knkl)
        {
            return DALFactory.CreateZkcdtDAL().UpdateKNKL(dtnum, knkl);
        }
        public int UpdateKNZY(string dtnum, decimal knzy)
        {
            return DALFactory.CreateZkcdtDAL().UpdateKNZY(dtnum, knzy);
        }
        public int UpdateKNWJ(string dtnum, decimal knwj)
        {
            return DALFactory.CreateZkcdtDAL().UpdateKNWJ(dtnum, knwj);
        }
        public int UpdateDK(string dtnum, decimal dk)
        {
            return DALFactory.CreateZkcdtDAL().UpdateDK(dtnum, dk);
        }
        public int UpdateDKDC(string dtnum, decimal dkdc)
        {
            return DALFactory.CreateZkcdtDAL().UpdateDKDC(dtnum, dkdc);
        }
        public int UpdateDKKL(string dtnum, decimal dkkl)
        {
            return DALFactory.CreateZkcdtDAL().UpdateDKKL(dtnum, dkkl);
        }

        public int UpdateDKZY(string dtnum, decimal dkzy)
        {
            return DALFactory.CreateZkcdtDAL().UpdateDKZY(dtnum, dkzy);
        }
        public int UpdateDKWJ(string dtnum, decimal dkwj)
        {
            return DALFactory.CreateZkcdtDAL().UpdateDKWJ(dtnum, dkwj);
        }
        public int Del(string dtnum)
        {
            return DALFactory.CreateZkcdtDAL().Del(dtnum);
        }
        public DataSet Select(string dtnum)
        {
            return DALFactory.CreateZkcdtDAL().Select(dtnum);
        }
        public DataSet SelectAll()
        {
            return DALFactory.CreateZkcdtDAL().SelectAll();
        }
        public DataSet SelectPG()
        {
            return DALFactory.CreateZkcdtDAL().SelectPG();
        }
        public string KuKC(string cday)
        {
            return DALFactory.CreateZkcdtDAL().KuKC(cday);
        }
        public string JDZB(string cday)
        {
            return DALFactory.CreateZkcdtDAL().JDZB(cday);
        }
        public string WJK(string cday)
        {
            return DALFactory.CreateZkcdtDAL().WJK(cday);
        }
        public string KLY(string cday)
        {
            return DALFactory.CreateZkcdtDAL().KLY(cday);
        }
        public string DCL(string cday)
        {
            return DALFactory.CreateZkcdtDAL().DCL(cday);
        }
        public string ZYL(string cday)
        {
            return DALFactory.CreateZkcdtDAL().ZYL(cday);
        }
        public string ZKC(string cday)
        {
            return DALFactory.CreateZkcdtDAL().ZKC(cday);
        }
    }
}
